import request from '@/utils/request'
var qs = require('qs')
const URL = {
  getArticlelist: 'article/getlist', // 获取文章列表数据'
  getArticleDetails: 'article/getArticleDetailsByList' // 获取文章详情数据'
}
export function getArticlelist (params) {
  return request({
    url: URL.getArticlelist,
    method: 'post',
    data: qs.stringify(params)
  })
}
export function getArticleDetails (params) {
  return request({
    url: URL.getArticleDetails,
    method: 'post',
    data: qs.stringify(params)
  })
}
// const BASEURL = 'https://www.easy-mock.com/mock/5b5fc216ce93cc61fbbab382/smileVue/'
// const URL = {
//   getShoppingMallInfo: BASEURL + 'getGoods', // 获取首页数据
//   getGoodsIfno: BASEURL + 'getGoodsInfo'
// }
// module.exports = URL
